package com.dragon.sdgp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.sdgp.common.R;
import com.dragon.sdgp.entity.Lexicon;
import com.dragon.sdgp.entity.dto.LexiconDto;

/**
 * @AUTHOR : Dragon_Yang
 * @File : LexiconService
 * @DESCRIPTION :
 * @DATE : 2023/3/17 19:36
 */
public interface LexiconService extends IService<Lexicon> {

    R getLexiconList(String token, String key, Integer page);

    R addLexicon(LexiconDto lexiconDto, String token);

    R getLexiconListByAccount(String token);

    R getCollectionList(String token);

    R shareOrCancel(Integer id);

    R collectionOrCancel(Integer id, String token);

    R getLexiconItem(Integer id);
}
